<!--#include file="../nav/admin_top.php" -->
<?PHP $lmenuindex=2;?>
<!--#include file="../nav_menu/source_begin.php" -->

<style type="text/css">

.tables{
border-collapse:collapse;
color:#555555;
width:100%;
}
.tables th{
background-color:#E2F4C4;
}
.tables td,.tables th{
padding:5px;
vertical-align:top;
text-align:center;
border:1px solid #CCCCCC;
}
.alertit{
margin-bottom:10px;
padding:10px;
color:#FF6633;
background-color:#FFFFCC;
border:1px solid #FF9900;
}
</style>
<div class="alertit">
	注意：当前显示的菜品种类来自 菜品管理 中维护的 菜品种类
</div>
			<table class="tables" >
				<thead>
					<tr>
						<th >菜品种类</th>
						<th >基地</th>
						<th >海拔</th>
						<th >采收人员</th>
						<th >采收质检员</th>
						<th >加工质检员</th>
					</tr>
				</thead>
				<tbody>
						<?PHP
						foreach($rs as $v){
							echo '
					<tr>
						<td>'.$v['type_name'].'</td>
						<td>'.$v['pro_base'].'</td>
						<td>'.$v['pro_height'].'</td>
						<td>'.$v['pro_pickman'].'</td>
						<td>'.$v['pro_testman'].'</td>
						<td>'.$v['make_testman'].'</td>
					</tr>
							';
						}
						?>
				</tbody>
			</table>
			<div class="button_div">
				<button onclick="fnModify()">修 改</button>
			</div>
			
			



   
<script type="text/javascript">
var types = {json_encode($rs)};
var url_modify = '/admin_srule/vegemodify'; 
$().ready(function(){
	o2js.build('ymprompt');
}); 
/* 修改 */
function fnModify(){ 
	ymPrompt.close();
	ymPrompt.win({
		title:'修改菜品溯源规则',
		fixPosition:true,
		maxBtn:true,
		width: 980, 
		height: 500,
		iframe:{
			src:url_modify
		}
	});
}
</script>


<!--#include file="../nav_menu/source_end.php" -->
<!--#include file="../nav/admin_bottom.php" -->